A Point-based Temporal Extension of SQL
نویسنده
چکیده
We propose a new approach to temporal extensions of SQL. Unlike the current proposals, e.g., SQL/Temporal, we use point-based references to time as the basis of our approach. The proposed language| SQL/TP|extends the syntax and semantics of SQL/92 in a very natural way: by adding a single data type to represent a linearly ordered universe of individual time instants. Such an extension allows the users to write temporal queries in customary fashion and vastly simpliies the semantics of the proposed language: we merely use the familiar SQL semantics. In this way SQL/TP also xes many problems present in the semantics of the temporal query languages based on explicit interval-valued temporal attributes. In addition, we propose an eecient query evaluation procedure over a compact interval-based encoding of temporal relations. The algorithm is based on a sophisticated compilation technique that translates SQL/TP queries to SQL/92. In this way existing database systems can be used for managing temporal data. We substantiate this claim by proposing an experimental version of a SQL/TP compiler to serve as a front-end for DB2 1 13].
منابع مشابه
Point-based Temporal Extension of SQL
Most of the common proposals for temporal extensions of SQL (e.g., ATSQL2 or SQL/Tem-poral) use explicit interval-based references to time (interval attributes). In this paper we propose a diierent approach: we use point-based references to time as a basis for a temporal extension of SQL. The proposed language|SQL/TP|extends the syntax and semantics of SQL/92 in a very natural way: by adding a ...
متن کاملDesign and Implementation of a Temporal Extension of SQL
We present a valid-time extension of SQL and investigate its efficient implementation on an Object-Relational database system. We propose an approach where temporal queries are expressed using a point-based time model, which only requires minimal extensions to SQL:1999. Our prototype system called TENORS (for Temporal ENhanced Object-Relational System) maps the external point-based temporal que...
متن کاملPoint-based Temporal Extensions of Sql and Their Eecient Implementation 1.2 Our Proposal 2 the Data Model for Temporal Databases 3.1 Data Deenition Language 3.2 the Query Language
This chapter introduces a new approach to temporal extensions of SQL. The main diierence from most of the current proposals is the use single time points, rather than intervals or various other complex-values for references to time, while still achieving eecient query evaluation. The proposed language, SQL/TP, extends the syntax of SQL/92 to handle temporal data in a natural way: it adds a sing...
متن کاملV.4: Sql/tp|a Temporal Extension of Sql
We use constraint technology as a basis for SQL/TP, a sound temporal extension of SQL. In contract to most of the earlier proposals, SQL/TP has clean syntax that is consistent with standard SQL, and unambiguous semantics that is rooted in the theory of constraint databases. We also deene a meaningful way of handling aggregation and duplicates, and provide an eecient implementation path on top o...
متن کاملA History-Oriented Temporal SQL Extension
Dozens of temporal extension of the relational data model and of the query language SQL have appeared in recent years. Recently, a committee formed by researchers from the academic and the industrial worlds designed a consensual extension of the SQL-92 standard to include time, epitomized as TSQL2. According to the fundamental concepts of temporal grouping and temporal completeness elaborated b...
متن کامل